<?php 
class siteActions extends Actions{
    protected $permissions = array(
        'siteGerenciarMenu' => array(
            'nome'      => "siteGerenciarMenu",
            'label'     => "Gerenciar Itens do menu",
            'descricao' => "Permite adicionar e remover itens do menu",
            'default'   => 'n',
        ),
    );
    protected $actions = array(
        'site/menu/index' => array(
            'label' => 'Itens do Menu', 'publico' => 'n', 'default_yes' => 's','default_no' => 'n',
            'permission' => 'siteGerenciarMenu',
            'menu' => array('site/menu/formulario')
        ),
        'site/menu/formulario' => array(
            'label' => 'Adicionar Item ao Menu', 'publico' => 'n', 'default_yes' => 's','default_no' => 'n',
            'permission' => 'siteGerenciarMenu',
            'menu' => array('site/menu/index')
        ),
        'site/menu/edit' => array(
            'label' => 'Editar item', 'publico' => 'n', 'default_yes' => 's','default_no' => 'n',
            'permission' => 'siteGerenciarMenu',
            'menu' => array('site/menu/index')
        ),
        
    );
}
?>